home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 014 / era20.arc / ERA.DOC < prev   
Encoding:
Text File  |  1987-05-15  |  4.3 KB  |  124 lines

  1. ERA - Prompting File/Directory Deleter.
  2.         
  3.         by: Windspear Software Systems
  4.             P.O. Box 2297
  5.             Iowa City, Iowa  52244
  6.  
  7. Copyright 1985, 1986, 1987 by Windspear Software Systems 
  8.  
  9. All commercial rights reserved. May be freely copied and used for 
  10. private use only -- not for resale. May be distributed on public access 
  11. remote computer bulletin boards.
  12.  
  13. ERA is supplied as a user supported package. Private individuals are 
  14. encouraged to copy and share this package with others. If you are using 
  15. this program and finding it of value, your contribution ($10 suggested) 
  16. will be appreciated. Regardless of whether you make a contribution, you 
  17. are encouraged to copy and share this program.
  18.  
  19. Please send any comments/problems to Windspear Software Systems. If you 
  20. want a response and are a contributing user also include a self 
  21. addressed stamped envelope.
  22.  
  23. Please make the user supported software concept work by sending in your 
  24. $10 contribution.
  25.  
  26.                                            Jordan Archer
  27.                                            Windspear Software Systems
  28.                                            P.O. Box 2297
  29.                                            Iowa City, Iowa  52244
  30.  
  31. ERA - Prompting File/Directory Deleter.
  32.  
  33. Discription:
  34.  
  35.     ERA is a prompting file and directory delete program.  ERA will
  36.     delete files and directories prompting for permission to delete 
  37.     at a given level.
  38.  
  39. Usage: ERA [pattern] {prefix[n]option}
  40.  
  41. Pattern:
  42.  
  43.     [!][drive:][path][file] { [!][file] }
  44.  
  45.     Drive: a - z.
  46.     Path: Any PC-DOS path ending in a '\'.
  47.     File: Normal file name with wild cards.
  48.  
  49.     The '!' means exclude all the files from the previous files list
  50.     taht match the file wild card. This is done in a left to right 
  51.     manner. For example:
  52.  
  53.         lf !*.bat               Means list all files that are not .bat
  54.  
  55.         lf *.b* !*.?a? *.bat    Is processed as:
  56.                                     1 ) List all *.b* files.
  57.                                     2 ) From that list remove all *.?a? files.
  58.                                     3 ) From that list add all *.bat files.
  59.  
  60. Prefixes:
  61.  
  62.    '-' or '/' if not disabled.
  63.  
  64.  
  65. ERA - Prompting File/Directory Deleter.
  66.  
  67.  
  68. Options:
  69.  
  70.     a - File attribute pattern match. (off)
  71.         When on hidden files are included in the deletion list.
  72.  
  73.     d - Delete directories. (on)
  74.         By using the '-nd' option you will delete only the files.
  75.         Deleting a directory means deleting all files in the directory
  76.         and removing the directory.
  77.  
  78.     f - Delete files. (on)
  79.         By using the '-nf' option you will delete only the directories.
  80.  
  81.     t - Tree search for files matching pattern. (off)
  82.         This tells ERA to search down in the directory tree for files 
  83.         matching the pattern supplied. For example:
  84.  
  85.             ERA C:\*.BAK *.TMP -T -A
  86.  
  87.         will delete all '.bak' and '.tmp' files on drive 'C'.
  88.  
  89.     p - Prompt for file delete. (on)
  90.         If turned off by '-np' ERA will not prompt wether to delete
  91.         files matching pattern.  ERA will always prompt for directory
  92.         deletes.
  93.  
  94.     '-', '/' - Set/Disable the option prefix character(s). (on)
  95.         This allows you to disable one or both of the options prefix
  96.         characters, which are '-' and '/'. (e.g., '-n-' disables the
  97.         '-' prefix so that a following '-no' is considered a file name
  98.         instead of an option.)
  99.  
  100.     All options can be prefixed with a 'n' to turn them off.
  101.  
  102. Notes:
  103.  
  104.     This is a rough version of ERA that fits my needs, I have never seen
  105.     it delete a file it was not suppose to delete.  There are some bugs
  106.     in it having to do with deleting directories containing read only
  107.     files.  Since ERA fills my needs I have no motivation to clean it up.
  108.     My only motivation to do so would be if there were contributions from
  109.     users.
  110.  
  111. Revision histroy:
  112.  
  113.     2.0 - Fix a bug in 1.1 which do to an error got stuck. (OOPS).
  114.  
  115.  
  116.                                                     Jordan Archer
  117.                                                     May 15, 1987
  118.  
  119.  
  120.                 Copyright 1985, 1986, 1987,
  121.                 Windspear Software Systems
  122.                 P.O. Box 2297
  123.                 Iowa City, Iowa  52244
  124.